Skip to content

Log MySQL Errors - #102

Open
Lightning11wins wants to merge 182 commits into
masterfrom
log-mysql-errors
Open

Log MySQL Errors#102
Lightning11wins wants to merge 182 commits into
masterfrom
log-mysql-errors

Conversation

@Lightning11wins

@Lightning11wins Lightning11wins commented May 13, 2026

Copy link
Copy Markdown
Contributor

This PR will improve error handling in the MySQL driver by making the following changes:

Feature List

  • Fix errors from mysql_query() being ignored.
  • Fix errors from mysql_store_result() being ignored.
  • Fix errors from mysql_real_escape_string() being ignored.
  • Fix "errors" pretending to be warnings.
  • Fix error-propagation failures.
  • Fix errors not being marked as resolved.
  • Fix errors being cleared when they weren't resolved.
  • Add more error messages.
  • Add expect to reduce performance hit from checking for errors.

GitHub Relationships

These will need to be reviewed and merged into master before this PR is reviewed.

Useful C MySQL lib docs

Israel added 30 commits October 13, 2025 09:53
Improve edge case logic in comparison functions.
Remove unregister driver function.
Clean up exp_functions.c.
Simplify dataqa_duplicates component in preparation for making it the boundary into our new duplicate system.
Add exp functions: sparse_eql(), ln(), and logn().
Fix bugs in comparison functions.
Make minor tweaks to objdrv_cluster.c.
Modify cluster files to use string keys.
Build vectors fully sparsely.
Add ca_fprint_vector().
Add snprint_llu().
Add exp_fn_trim().
Update exp_fn_cmp().
Organize exp function definitions by group.
Add statistics tracking to cluster driver.
Reduce minimum hint threshold.
Add array handling to ci_xaToTrimmedArray().
Update timer to handle multiple starts and stops properly.
Re-add Levenshtein to exp_functions.
Publish edit_dist() in the cluster library.
Fix mistakes in cluster driver function signatures.
Fix spelling mistakes.
Add detail to an error message in the lexer.
Remove unused .cluster files.
Clean up cluster-schema.cluster.
Clean up other unused junk.
Add known issues to string similarity documentation.
Clean up and organize todos.
Clean up testing code in several files.
…ast commit).

Update tests to pass with this modification.
… caches).

Fix a formatting issue with the stat method.
Fix a missing include in the util.c library.
…le hundred bytes.

Add check_double() to handle functions that return NAN on failure.
Clean up.
…rary.

Round similarity results to avoid floating point errors.
Enable caching for memory allocated in get_cluster_size().
Rename edit_dist() to ca_edit_dist() to match format for public functions.
Rename print_diagnostics() to print_err().
Fix a possible uninitialized read.
Fix memset() not initializing data.
Improve documentation.
Lightning11wins and others added 30 commits August 21, 2026 11:13
# Conflicts:
#	centrallix-lib/Makefile.in
Rename #includes to new file names.
Rename functions to the new names.
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
# Conflicts:
#	centrallix/tests/test_fuzzycompare_00.to
# Conflicts:
#	centrallix-lib/src/mtsession.c
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ai-review Request AI review for PRs. size: trivial Easy to review, probably ~100 lines or fewer.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant